package de.unibi.comet.hmm;

public class Emission {
	private int mass;
	private double probability;
	
	public Emission(int mass, double probability) {
		this.mass=mass;
		this.probability=probability;
	}

	public double getProbability() {
		return probability;
	}

	public int getMass() {
		return mass;
	}
	
	/** Converts probability to the logarithmic domain. */
	public void convertToLogSpace() {
		probability=Math.log(probability);
	}
}
